package models

type Role struct {
	Id         int    `gorm:"column(id)" json:"id"`
	RoleName   string `gorm:"column(role_name)" json:"role_name"`
	CreateTime uint64 `gorm:"column(create_time)" json:"create_time"`
	UpdateTime uint64 `gorm:"column(update_time)" json:"update_time"`
}

func (*Role) TableName() string {
	return "blog_role"
}
